﻿using System;
using UnityEngine;

public class MessageDistributer : MonoBehaviour
{
    public static MessageDistributer Instance;

    public void Awake()
    {
        if (Instance != null)
        {
            Destroy(gameObject);
            return;
        }

        Instance = this;
    }

    public void Subscribe<T>(Action<object, T> action)
    {
        
    }

    public void UnSubscribe<T>(Action<object, T> action)
    {
        
    }
}